<!--{include(pe_tpl('header.html'));}-->
<div class="right_page">
	<!--{include(pe_tpl('setting_menu.html'));}-->
	<form method="post" id="form" autocomplete="off">
	<div class="right_main">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang">
		<tr>
			<td align="right" width="200">游客购买：</td>
			<td>
				<div class="layui-form mat2 fl">
					<input type="checkbox" name="info[web_guestbuy]" value="1" <!--{if($info['web_guestbuy']['setting_value']):}-->checked<!--{endif;}--> lay-skin="switch" lay-text="开启|关闭" />
				</div>
				<span class="c999 mal10 fl">（开启后pc+h5端用户可以不注册/登录购买）</span>
			</td>
		</tr>
		<tr>
			<td align="right">注册验证：</td>
			<td>
				<!--{foreach(array('web_checkphone'=>'手机验证码', 'web_checkemail'=>'邮箱验证码') as $k=>$v):}-->
				<label for="{$k}" class="mar10"><input type="checkbox" name="info[{$k}]" value="1" id="{$k}" class="inputfix" <!--{if($info[$k]['setting_value']):}-->checked="checked"<!--{endif}--> /> {$v}</label>
				<!--{endforeach}-->
				<span class="c999 mal10">（pc+h5端注册时是否验证手机/邮箱）</span>
			</td>
		</tr>
		</table>
	</div>
	<div class="now"><a href="javascript:;" class="sel">提现设置<i></i></a></div>
	<div class="right_main">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang mat20">
		<tr>
			<td align="right" width="200">最低金额：</td>
			<td>
				<input type="text" name="info[cashout_min]" value="{$info['cashout_min']['setting_value']}" class="inputall input100" /> 元
				<span class="c999 mal10">（最低提现金额）</span>
			</td>
		</tr>
		<tr>
			<td align="right">手续费率：</td>
			<td>
				<input type="text" name="info[cashout_fee]" value="{$info['cashout_fee']['setting_value']*100}" class="inputall input100" /> %
				<span class="c999 mal10">（提现手续费）</span>
			</td>
		</tr>
		<tr>
			<td align="right">提现日期：</td>
			<td>
				<input type="text" name="info[cashout_date]" value="{$info['cashout_date']['setting_value']}" class="inputall input200" />
				<span class="c999 mal10">（每月几号可提现，多个用“,”隔开，不填则不限制）</span>
			</td>
		</tr>
		<tr>
			<td align="right">提现说明：</td>
			<td><input type="text" name="info[cashout_desc]" value="{$info['cashout_desc']['setting_value']}" class="inputall input400" /></td>
		</tr>
		</table>
	</div>
	<div class="now"><a href="javascript:;" class="sel">积分设置<i></i></a></div>
	<div class="right_main">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang mat20">
		<tr>
			<td align="right" width="200">注册奖励：</td>
			<td><input type="text" name="info[point_reg]" value="{$info['point_reg']['setting_value']}" class="inputall input100" /> 积分</td>
		</tr>
		<tr>
			<td align="right">邀请奖励：</td>
			<td><input type="text" name="info[point_tg]" value="{$info['point_tg']['setting_value']}" class="inputall input100" /> 积分</td>
		</tr>
		<!--<tr>
			<td align="right">登录奖励：</td>
			<td><input type="text" name="info[point_login]" value="{$info['point_login']['setting_value']}" class="inputall input100" /> 积分</td>
		</tr>-->
		<tr>
			<td align="right">购物奖励：</td>
			<td><input type="text" name="info[point_order]" value="{$info['point_order']['setting_value']*100}" class="inputall input100" /> % 的积分 <span class="c999">（奖励实际支付订单商品金额的百分比积分，不包含运费）</span></td>
		</tr>
		<tr>
			<td align="right">评价奖励：</td>
			<td><input type="text" name="info[point_comment]" value="{$info['point_comment']['setting_value']}" class="inputall input100" /> 积分</td>
		</tr>
		<tr>
			<td align="right">积分抵现：</td>
			<td><input type="text" name="info[point_bili]" value="{$info['point_bili']['setting_value']}" class="inputall input100" /> 积分 = 1元 <span class="c999">（用户在结算时可以用积分抵减现金）</span></td>
		</tr>
		<tr>
			<td align="right">最大抵现：</td>
			<td><input type="text" name="info[point_maxlimit]" value="{$info['point_maxlimit']['setting_value']*100}" class="inputall input100" /> % <span class="c999">（用户在结算时单笔订单最大抵现金额）</span></td>
		</tr>
		</table>
	</div>
	<div class="right_bottom center">
		<input type="hidden" name="pe_token" value="{$pe_token}" />
		<input type="hidden" name="pesubmit" value="{$pe_token}" />
		<input type="button" value="提 交" class="tjbtn">
	</div>
	</form>
</div>
<link rel="stylesheet" href="{$pe['host']}include/plugin/layui/css/layui.css">
<script src="{$pe['host']}include/plugin/layui/layui.js"></script>
<script type="text/javascript">
$(function(){
	$(":button").click(function(){
		pe_submit("{pe_nowurl()}", function(json){
			if (json.code == 1) pe_open('reload', 1000);
		});
	})
})
layui.use(['form'], function(){
	form = layui.form;
});
</script>
<!--{include(pe_tpl('footer.html'));}-->